﻿namespace BM.Tools.WebControls.MForm.Navigation.XPath.NodeTests
{
    /// <summary>
    /// A definition of a node test that matches all attributes.
    /// </summary>
    public class AllAttributeTest : NodeTest
    {
        /// <summary>
        /// Gets the text representation of the node test.
        /// </summary>
        /// <value>
        /// The text in which the node test can be represented in xpath - the '@*'.
        /// </value>
        public override string Text
        {
            get
            {
                return "@*";
            }
        }
    }
}
